import RNFetchBlob from 'rn-fetch-blob'
const DefaultConfig = {
    usb_serial:[
        {
            id:1,
            android_usb:"*",//android平板usb端子
            port_num: 4,    //usb转串口，串口port数
        },
    ],
    loop_controller:[
        {
            id:1,
            index:1,
            type:1, //type和key总是相同
            key: "1",
            port:1,
            usb_serial_id:1,
            loop_count:4,
        },
        {
            id:2,
            index:2,
            type:1,
            key: "1",
            port:1,
            usb_serial_id:1,
            loop_count:4,
        },
    ],
    smart_controller:[
        {
            id: 1, 
            index: 1, 
            key: "3",
            port:0,
            usb_serial_id:1,
        },
        {
            id: 2, 
            index: 2, 
            key: "3",
            port:0,
            usb_serial_id:1,
        },
    ]
};

export default class HardwareConfigManager {
    static async reloadConfig() {

    }

    static async writeConfig() {

    }

    static async getHardwareConfig() {

    }
}
